package com.szholly.pro.watergas_server.ps.data;

import java.util.HashMap;

import com.szholly.data.general.metadata.table.DefulatDomainTable;import org.springframework.stereotype.Component;import com.szholly.data.general.Field;import com.szholly.data.general.InterceptorTableBase;import com.szholly.data.general.metadata.IBaseTable;import com.szholly.utils.spring.SpringBeanFactory;import org.springframework.stereotype.Component;import com.szholly.data.general.GlobalDataType;import com.szholly.data.general.RowBase;
/**
 * PollutantOverflowSolve
 */
@Component("PollutantOverflowSolve")
public class PollutantOverflowSolveTable extends InterceptorTableBase  implements IBaseTable{

	public final static String TABLE_NAME = "POLLUTANT_OVERFLOW_SOLVE";
	
	/**
	 * single ref
	 */
	public static PollutantOverflowSolveTable getSingleRef() {
		return (PollutantOverflowSolveTable) SpringBeanFactory.getBean("PollutantOverflowSolve");
	}

	@Override
	public String getMetadataTableName() {
		return TABLE_NAME;
	}

	@Override
	public String getMetadataTableAliasName() {
		return "PollutantOverflowSolve";
	}

	private HashMap<String, Field> fields;

	@Override
	protected HashMap<String, Field> fields() {
		if (fields == null) {
			fields = new HashMap<String, Field>();

			Field itemField = new Field();
			itemField.setFieldName(RowBase.FIELD_GUID);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(1);
			itemField.setFieldAliasName("GUID");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_YunweiName);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(5);
			itemField.setFieldAliasName("YUNWEI_NAME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_YunweiTime);
			itemField.setDataType(GlobalDataType.DateTime);
			itemField.setFieldID(6);
			itemField.setFieldAliasName("YUNWEI_TIME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_LindaoName);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(7);
			itemField.setFieldAliasName("LINDAO_NAME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_IsToZhifa);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(8);
			itemField.setFieldAliasName("IS_TO_ZHIFA");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_LindaoTime);
			itemField.setDataType(GlobalDataType.DateTime);
			itemField.setFieldID(9);
			itemField.setFieldAliasName("LINDAO_TIME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_YunweiTel);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(10);
			itemField.setFieldAliasName("YUNWEI_TEL");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_ZhifaName);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(11);
			itemField.setFieldAliasName("ZHIFA_NAME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_SolveTime);
			itemField.setDataType(GlobalDataType.DateTime);
			itemField.setFieldID(12);
			itemField.setFieldAliasName("SOLVE_TIME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_Status);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(13);
			itemField.setFieldAliasName("STATUS");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_PaiwuTel);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(14);
			itemField.setFieldAliasName("PAIWU_TEL");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_SolveName);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(15);
			itemField.setFieldAliasName("SOLVE_NAME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_LindaoTel);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(16);
			itemField.setFieldAliasName("LINDAO_TEL");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_PollutantOverflowNo);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(17);
			itemField.setFieldAliasName("POLLUTANT_OVERFLOW_NO");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_IsToLindao);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(18);
			itemField.setFieldAliasName("IS_TO_LINDAO");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_IsToYunwei);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(19);
			itemField.setFieldAliasName("IS_TO_YUNWEI");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_Remark);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(20);
			itemField.setFieldAliasName("REMARK");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_WaringTime);
			itemField.setDataType(GlobalDataType.DateTime);
			itemField.setFieldID(21);
			itemField.setFieldAliasName("WARING_TIME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_ZhifaTime);
			itemField.setDataType(GlobalDataType.DateTime);
			itemField.setFieldID(22);
			itemField.setFieldAliasName("ZHIFA_TIME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_PollutantName);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(23);
			itemField.setFieldAliasName("POLLUTANT_NAME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_StandardValue);
			itemField.setDataType(GlobalDataType.Int32);
			itemField.setFieldID(24);
			itemField.setFieldAliasName("STANDARD_VALUE");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_PaiwuTime);
			itemField.setDataType(GlobalDataType.DateTime);
			itemField.setFieldID(25);
			itemField.setFieldAliasName("PAIWU_TIME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_SolveTel);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(26);
			itemField.setFieldAliasName("SOLVE_TEL");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_MonitorStation);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(27);
			itemField.setFieldAliasName("MONITOR_STATION");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_PaiwuName);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(28);
			itemField.setFieldAliasName("PAIWU_NAME");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_MonitorWwtp);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(29);
			itemField.setFieldAliasName("MONITOR_WWTP");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_WarningType);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(30);
			itemField.setFieldAliasName("WARNING_TYPE");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_ZhifaTel);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(31);
			itemField.setFieldAliasName("ZHIFA_TEL");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_CurrentValue);
			itemField.setDataType(GlobalDataType.Int32);
			itemField.setFieldID(32);
			itemField.setFieldAliasName("CURRENT_VALUE");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_IsToPaiwu);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(33);
			itemField.setFieldAliasName("IS_TO_PAIWU");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_SolveValue);
			itemField.setDataType(GlobalDataType.Int32);
			itemField.setFieldID(34);
			itemField.setFieldAliasName("SOLVE_VALUE");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
			
			itemField = new Field();
			itemField.setFieldName(PollutantOverflowSolveRow.FIELD_IsToSolve);
			itemField.setDataType(GlobalDataType.String);
			itemField.setFieldID(35);
			itemField.setFieldAliasName("IS_TO_SOLVE");
			itemField.setCanShow(false);
			fields.put(itemField.getFieldName().toUpperCase().trim(), itemField);
		}
		return fields;
	}

	@Override
	public String getTableGroup() {
		return "PollutantOverflowSolve";
	}
}